using System.ComponentModel.DataAnnotations;

namespace InvestmentIntelligence.DbModel.Models
{
    public class SecurityClass
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
        public string EnumName { get; set; }
        public bool Include { get; set; }
        public bool IncludeEdge { get; set; }
        public Types? Type { get; set; }

        public enum Types
        {
            Unknown = 0,
            CFDonRights = 1,
            CommodityFutureEnergy = 2,
            CommodityFuturePreciousMetals = 3,
            CommodityFutureSoft = 4,
            CommodityVarianceSwap = 5,
            ContractforDifference = 6,
            ConvertibleBond = 7,
            ConvertibleBondTRS = 8,
            ConvertiblePreferenceShare = 9,
            CorporateEventStock = 10,
            DepositoryReceipt = 11,
            DividendFuture = 12,
            DividendIndexOption = 13,
            DividendIndexOptionOTC = 14,
            EquityIndexFuture = 15,
            EquityIndexOption = 16,
            EquityIndexOptionOTC = 17,
            EquityStockFutureOTC = 18,
            EquityStockOption = 19,
            EquityStockOptionOTC = 20,
            EquityVolVarianceSwap = 21,
            ExchangeTradedFund = 22,
            ExoticEquityOption = 23,
            GLGFundCIS = 24,
            NonGLGFundCIS = 25,
            OptionOnaCommodity = 26,
            OptionOnIndexFuture = 27,
            OrdinaryShare = 28,
            PaytoHold = 29,
            PreferenceShare = 30,
            Rights = 31,
            Swaption = 32,
            TotalReturnSwap = 33,
            Warrant = 34,
            Index = 35,
            RightsTemporary = 36,
            EquityStockFuture = 37,
            EquityDerivatives = 38,
            EquityIndexFutureOTC = 39,
            CreditDefaultSwap = 40,
            Bond = 41,
            Government = 42,
            BondTRS = 43,
            FloatingRateNote = 44,
            CorporateEventBond = 45,

        }
    }
}
